<%@ page language="java" import="com.sql.*,com.database.*" pageEncoding="gb2312"%>

  <%
String vipid  = request.getParameter("vipid");

//System.out.println(vipid+"       -----");
String sqldel_card="delete from CQMS_CardBusiness  where vipid='"+vipid+"'";
String sqldel_vip="delete from CQMS_Vipcard where vipid='"+vipid+"'";

System.out.println(sqldel_card);
System.out.println(sqldel_vip);
	DataBase db1=new DataBase();
	db1.executeUpdate(sqldel_card);
	db1.closeStmt();
	db1.closeConn();
	
	DataBase db2=new DataBase();
	db2.executeUpdate(sqldel_vip);
	db2.closeStmt();
	db2.closeConn();
	
	response.sendRedirect("Vipdjset.jsp");
 %>
